package com.itheima.service;

import com.itheima.dto.UserDTO;
import com.itheima.entity.PageResult;
import com.itheima.pojo.User;

/**
 * @Author: bowen
 * @Date: 2019/7/22 15:11
 * @Description:
 */
public interface UserService {
	UserDTO findByUsername(String username);

    PageResult findPage(Integer currentPage, Integer pageSize, String queryString);

    void add(User user);
}
